import { IsEmail, IsNotEmpty, isNotEmptyObject, isNumber } from 'class-validator';
export class LoginDto {
    @IsNotEmpty({
      message : '请填写登录账号'
    })
    account: string;
  
    @IsNotEmpty({
      message : '请填写登录密码'
    })
    password: string;
  }